package com.ekuaitu.kuaitu.bean;

/**
 * Created by Michael Pi on 2016/9/17.
 */
public class PlaceOrderBean {


    /**
     * status : 200
     * message : 成功
     * debug : null
     * attachment : {"order":{"id":447,"userId":78,"carId":15,"orderNum":"7820160930110748","status":0,"onLocationName":"望京","downLocationName":"","orderTime":1475204868395,"finishTime":1475204868395,"carModel":{"id":15,"userId":1,"picture":0,"brand":"宝马","model":"x6","licenseTag":"132456789","electric":100,"longitude":116.43464979614261,"latitude":39.936327973765934,"gradeId":1,"parkId":2,"valuationRuleModel":null,"parkName":null}}}
     */

    private int status;
    private String message;
    private Object debug;
    /**
     * order : {"id":447,"userId":78,"carId":15,"orderNum":"7820160930110748","status":0,"onLocationName":"望京","downLocationName":"","orderTime":1475204868395,"finishTime":1475204868395,"carModel":{"id":15,"userId":1,"picture":0,"brand":"宝马","model":"x6","licenseTag":"132456789","electric":100,"longitude":116.43464979614261,"latitude":39.936327973765934,"gradeId":1,"parkId":2,"valuationRuleModel":null,"parkName":null}}
     */

    private AttachmentBean attachment;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Object getDebug() {
        return debug;
    }

    public void setDebug(Object debug) {
        this.debug = debug;
    }

    public AttachmentBean getAttachment() {
        return attachment;
    }

    public void setAttachment(AttachmentBean attachment) {
        this.attachment = attachment;
    }

    public static class AttachmentBean {
        /**
         * id : 447
         * userId : 78
         * carId : 15
         * orderNum : 7820160930110748
         * status : 0
         * onLocationName : 望京
         * downLocationName :
         * orderTime : 1475204868395
         * finishTime : 1475204868395
         * carModel : {"id":15,"userId":1,"picture":0,"brand":"宝马","model":"x6","licenseTag":"132456789","electric":100,"longitude":116.43464979614261,"latitude":39.936327973765934,"gradeId":1,"parkId":2,"valuationRuleModel":null,"parkName":null}
         */

        private OrderBean order;

        public OrderBean getOrder() {
            return order;
        }

        public void setOrder(OrderBean order) {
            this.order = order;
        }

        public static class OrderBean {
            private String id;
            private String userId;
            private int carId;
            private String orderNum;
            private int status;
            private String onLocationName;
            private String downLocationName;
            private long orderTime;
            private long finishTime;
            /**
             * id : 15
             * userId : 1
             * picture : 0
             * brand : 宝马
             * model : x6
             * licenseTag : 132456789
             * electric : 100
             * longitude : 116.43464979614261
             * latitude : 39.936327973765934
             * gradeId : 1
             * parkId : 2
             * valuationRuleModel : null
             * parkName : null
             */

            private CarModelBean carModel;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getUserId() {
                return userId;
            }

            public void setUserId(String userId) {
                this.userId = userId;
            }

            public int getCarId() {
                return carId;
            }

            public void setCarId(int carId) {
                this.carId = carId;
            }

            public String getOrderNum() {
                return orderNum;
            }

            public void setOrderNum(String orderNum) {
                this.orderNum = orderNum;
            }

            public int getStatus() {
                return status;
            }

            public void setStatus(int status) {
                this.status = status;
            }

            public String getOnLocationName() {
                return onLocationName;
            }

            public void setOnLocationName(String onLocationName) {
                this.onLocationName = onLocationName;
            }

            public String getDownLocationName() {
                return downLocationName;
            }

            public void setDownLocationName(String downLocationName) {
                this.downLocationName = downLocationName;
            }

            public long getOrderTime() {
                return orderTime;
            }

            public void setOrderTime(long orderTime) {
                this.orderTime = orderTime;
            }

            public long getFinishTime() {
                return finishTime;
            }

            public void setFinishTime(long finishTime) {
                this.finishTime = finishTime;
            }

            public CarModelBean getCarModel() {
                return carModel;
            }

            public void setCarModel(CarModelBean carModel) {
                this.carModel = carModel;
            }

            public static class CarModelBean {
                private int id;
                private int userId;
                private int picture;
                private String brand;
                private String model;
                private String licenseTag;
                private int electric;
                private double longitude;
                private double latitude;
                private int gradeId;
                private int parkId;
                private Object valuationRuleModel;
                private Object parkName;

                public int getId() {
                    return id;
                }

                public void setId(int id) {
                    this.id = id;
                }

                public int getUserId() {
                    return userId;
                }

                public void setUserId(int userId) {
                    this.userId = userId;
                }

                public int getPicture() {
                    return picture;
                }

                public void setPicture(int picture) {
                    this.picture = picture;
                }

                public String getBrand() {
                    return brand;
                }

                public void setBrand(String brand) {
                    this.brand = brand;
                }

                public String getModel() {
                    return model;
                }

                public void setModel(String model) {
                    this.model = model;
                }

                public String getLicenseTag() {
                    return licenseTag;
                }

                public void setLicenseTag(String licenseTag) {
                    this.licenseTag = licenseTag;
                }

                public int getElectric() {
                    return electric;
                }

                public void setElectric(int electric) {
                    this.electric = electric;
                }

                public double getLongitude() {
                    return longitude;
                }

                public void setLongitude(double longitude) {
                    this.longitude = longitude;
                }

                public double getLatitude() {
                    return latitude;
                }

                public void setLatitude(double latitude) {
                    this.latitude = latitude;
                }

                public int getGradeId() {
                    return gradeId;
                }

                public void setGradeId(int gradeId) {
                    this.gradeId = gradeId;
                }

                public int getParkId() {
                    return parkId;
                }

                public void setParkId(int parkId) {
                    this.parkId = parkId;
                }

                public Object getValuationRuleModel() {
                    return valuationRuleModel;
                }

                public void setValuationRuleModel(Object valuationRuleModel) {
                    this.valuationRuleModel = valuationRuleModel;
                }

                public Object getParkName() {
                    return parkName;
                }

                public void setParkName(Object parkName) {
                    this.parkName = parkName;
                }
            }
        }
    }
}
